package com.huabo.contract.oracle.entity;

import java.math.BigDecimal;


import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Transient;

/**
 * <p>
 * 
 * </p>
 *
 * @author huabo
 * @since 2022-03-21
 */
@Data
  @EqualsAndHashCode(callSuper = false)
    @TableName("TBL_LEGAL_ARBITRATSETTLEMENT")
@ApiModel(value="TblLegalArbitratsettlement对象", description="")
public class TblLegalArbitratsettlement implements Serializable {
//法务管理-仲裁过程
    private static final long serialVersionUID = 1L;


    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY,generator = "select HIBERNATE_SEQUENCE.nextval from dual")
      @TableId("ARBITRAID")
      private Integer arbitraid;

    @TableField("COURTFIRST")//一审法院新增必填//案件名称
    private String courtfirst;

    @TableField("ASDEALDATE")//
    @JSONField(format = "yyyy-MM-dd")//仲裁受理日期
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date asdealdate;

    @TableField("ASFIRSTHEARINGDATE")
    @JSONField(format = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date asfirsthearingdate;//仲裁首次开庭日期

    @TableField("ARBITRATIONAMOUNT")//仲裁金额
    private BigDecimal arbitrationamount;

    @TableField("ARBITRATIONENDDATE")
    @JSONField(format = "yyyy-MM-dd")//仲裁结案日期
    @DateTimeFormat(pattern="yyyy-MM-dd")
    private Date arbitrationenddate;

    @TableField("ARBITRATIONRESULT")//仲裁结果
    private String arbitrationresult;

    @TableField("NEGOTIATEINFO")
    private Integer negotiateinfo;

    @TableField("CREATESTAFF")
    private BigDecimal createstaff;

    @TableField("CREATETIME")
    @JSONField(format = "yyyy-MM-dd")
    private Date createtime;

    @TableField("LINKORG")
    private BigDecimal linkorg;

    @TableField("ARBITRASTATUS")
    private BigDecimal arbitrastatus;

      @ApiModelProperty(value = "币种")
      @TableField("CURRENCY")
    private String currency;

      @ApiModelProperty(value = "隶属纠纷")
      @TableField("DISPUTEID")
    private BigDecimal disputeid;

      @Transient
    private String startdate;
      @Transient
    private String enddate;

      @Transient
    private List<TblAttachment> attList;

      @Transient
    private TblLegalNegotiatedsettlemen negotiate;

      @Transient
    private String disputeitem;//协商信息
}
